.shsans_extralight {
  font-weight: 100;
}

.shsans_light {
  font-weight: 200;
}

.shsans_normal {
  font-weight: 300;
}

.shsans_regular {
  font-weight: 400;
}

.shsans_medium {
  font-weight: 500;
}

.shsans_bold {
  font-weight: 700;
}

.shsans_heavy {
  font-weight: 900;
}

.serif-tc {
  font-family: source-han-serif-tc, serif;

}

.serif-sc {
  font-family: source-han-serif-sc, serif;
}

body,
html,
h1 {
  margin: 0;
  font-size: 18px;
  font-family: source-han-sans-simplified-c, sans-serif;
  font-weight: 400;
}

@media screen and (min-width: 641px) and (max-width: 1300px) {
  body,
  html,
  h1 {
    font-size: 16px;
  }
}


@media screen and (max-width: 640px) {
  body,
  html,
  h1 {
    font-size: 14px;
  }
}

::-webkit-scrollbar {
  display: none;
}


#loading {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  top: 0;

  img {
    width: 250px;
  }
}

iframe {
  border: none;
}

.FC {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  width: 740px;
  margin: 95px 0;

  img {
    width: 100%;
  }
}

@media screen and (min-width: 641px) and (max-width: 1300px) {
  .wrapper {
    width: 540px;
    margin: 50px 0;
  }
}


@media screen and (max-width: 640px) {
  .wrapper {
    width: 330px;
    margin: 30px 0;
  }
}

@media screen and (max-width: 340px) {
  .wrapper {
    width: 100%;
    padding: 0 8px;
    margin: 20px 0;
  }
  #content {
    padding: 0 8px;
  }
}

#container {
  margin-right: 105px;
}

@media screen and (max-width: 1023px) {
  #container {
    margin-right: 0;
  }
}

#menu {
  position: fixed;
  right: 0;
  width: 105px;
  height: 100%;
  top: 0;
  background: black;
  color: white;

  div {
    width: 100%;
    text-align: center;
  }

  #logo {
    position: absolute;
    top: 0;
    margin-top: 50px;
  }

  #ucom {
    margin-bottom: 50px;
    position: absolute;
    bottom: 0;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1300px) {
  #menu {
    width: 75px;
  }

  #container {
    margin-right: 75px;
  }
}

.menus {
  height: 100%;
  flex-direction: column;

  > a {
    font-weight: 700;
    color: #7f7f7f;
    text-decoration: none;
    font-size: 18px;
    display: block;

    &:first-child {
      margin-bottom: 100px;
    }

    &.active {
      color: white;
    }
  }

  @media screen and (min-width: 641px) and (max-width: 1300px) {
    > a {
      font-size: 16px;
    }
  }

  @media screen and (max-width: 340px) {
    > a {
      font-size: 14px;
    }
  }
}


@media screen and (max-width: 1023px) {
  #menu {
    display: none
  }
}

.menu_icon_wrapper {
  display: none;
  position: fixed;
  width: 100%;
  height: 75px;
  background: white;
  z-index: 1;
  top: 0;

  #menu_icon {
    position: fixed;
    right: 0;
    width: 10%;
    height: 75px;
    top: 0;
    cursor: pointer;

    img {
      height: 30px;
    }

    @media screen and (max-width: 340px) {
      img {
        height: 20px;
      }
    }
  }
}

@media screen and (max-width: 1023px) {
  .menu_icon_wrapper {
    display: block;
  }
}

@media screen and (max-width: 340px) {
  .menu_icon_wrapper {
    height: 50px;

    #menu_icon {
      height: 50px;
    }
  }
}

#menu_phone {
  @extend #loading;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.91);

  img {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    cursor: pointer;
  }

  @media screen and (max-width: 1023px) {
    img {
      width: 20px;
    }
  }

  .menus {
    height: auto;

    > a {
      &:first-child {
        margin-bottom: 50px;
      }
    }
  }
}

#home {
  h1 {
    font-size: 70px;
    -moz-font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    font-weight: 700;
  }

  @media screen and (min-width: 641px) and (max-width: 1300px) {
    h1 {
      font-size: 54px;
    }
  }


  @media screen and (max-width: 640px) {
    h1 {
      font-size: 30px;
    }
  }

  p {
    letter-spacing: 2px;
    line-height: 1.7;
    margin: 20px 0 0 0;
  }
}

#content {
  flex-direction: column;

  .info {
    display: flex;
    margin-bottom: 70px;
    align-items: flex-end;

    p {
      margin: 0;
    }

    .left {
      div {
        width: 200px;
        font-weight: 700;
      }

      @media screen and (max-width: 340px) {
        div {
          letter-spacing: 0;
        }
      }

      img {
        width: 80px;
      }

      font-size: 30px;
    }

    @media screen and (min-width: 641px) and (max-width: 1300px) {
      .left {
        div {
          width: 132px;
        }

        img {
          width: 60px;
        }

        font-size: 24px;
      }
    }

    .right {
      flex-grow: 1;
      line-height: 1.6;

      table {
        display: none;
      }


      @media screen and (max-width: 640px) {
        table {
          display: block;
          margin: -30px 0 20px 0;
          color: #FAAD14;
        }
      }
    }

    .font {
      display: flex;
      letter-spacing: 2px;
      line-height: 1.45;

      div {
        &:first-child {
          width: 138px;
          color: #faad14;
        }

        @media screen and (max-width: 640px) {
          &:first-child {
            display: none;
          }
        }

        &:last-child {
          flex-grow: 1;
        }
      }
    }
  }


  @media screen and (max-width: 640px) {
    .info {
      flex-direction: column;
      margin-bottom: 30px;

      .left {
        width: 100%;
        margin-bottom: 20px;

        div {
          width: auto;
        }

        img {
          width: 60px;
        }

        font-size: 22px;
      }
    }
  }

  .info2 {
    @extend .info;
    margin-bottom: 0;
    align-items: flex-start;

    .left {
      img {
        width: 25px;
        height: 25px;
      }

      @media screen and (max-width: 640px) {
        div {
          margin-left: 30px;

          p {
            font-size: 12px;
            padding-right: 0;
          }
        }
        img {
          width: 15px;
          height: 15px;
          float: left;
          margin-top: 4px;
        }
      }

      p {
        font-size: 16px;
        padding-right: 25px;
        letter-spacing: 1px;
        line-height: 24px;
        font-weight: 400;
      }

      @media screen and (min-width: 641px) and (max-width: 1300px) {
        p {
          font-size: 14px;
        }
      }
    }

    ._1 {
      display: flex;

      div {
        font-size: 13px;

        .Bold {
          margin: 12px;
          font-weight: 600;
        }

        &:first-child {
          width: 195px;
        }

        @media screen and (min-width: 641px) and (max-width: 1300px) {
          &:first-child {
            width: 172px;
          }
        }

        @media screen and (min-width: 341px) and (max-width: 640px) {
          &:first-child {
            width: 144px;
          }
        }

        @media screen and (max-width: 340px) {
          &:first-child {
            width: 125px;
          }
        }

        &:last-child {
          flex-grow: 1;
        }
      }

      .border1 {
        border: 1px solid #979797;
        height: 14px;
        margin: 0 15px 12px 9px;
        border-bottom: none;
      }

      @media screen and (max-width: 640px) {
        .border1 {
          margin: 0 8px 12px 9px;
        }
      }

      .border2 {
        @extend .border1;
        width: 243px;
      }

      @media screen and (min-width: 641px) and (max-width: 1300px) {
        .border2 {
          width: 220px;
        }
      }

      @media screen and (min-width: 341px) and (max-width: 640px) {
        .border2 {
          width: 170px;
        }
      }

      @media screen and (max-width: 340px) {
        .border2 {
          width: 140px;
        }
      }

      ._2 {
        writing-mode: vertical-rl;
        font-size: 30px;
      }

      @media screen and (max-width: 340px) {
        ._2 {
          font-size: 20px;
        }
      }

      @media screen and (min-width: 341px) and (max-width: 640px) {
        ._2 {
          font-size: 24px;
        }
      }

      @media screen and (min-width: 641px) and (max-width: 1300px) {
        ._2 {
          font-size: 26px;
        }
      }

      ._3 {
        padding: 0 0 30px 0;
      }
    }
  }
}

#download {
  text-align: center;
  flex-direction: column;
  padding: 150px 0 200px 0;

  ._4 {
    font-size: 25px;
    padding-bottom: 30px;
    letter-spacing: 4px;
  }

  ._5 {
    font-size: 20px;
    line-height: 40px;
    letter-spacing: 3px;
  }

  ._6 {
    margin-top: 30px;
    letter-spacing: 3px;

    a {
      display: inline-block;
      text-decoration: none;
      border: 3px solid black;
      border-radius: 50px;
      padding: 7px 20px;
      color: black;

      &:hover {
        color: #faad14;
        border-color: #faad14;
      }
    }

    a.download {
      @extend a;
      margin-right: 60px;
    }

  }
}

#copyright {
  background: black;
  color: gray;
  padding: 60px 30px;
  line-height: 1.8;
  letter-spacing: 3px;
}

@media screen and (max-width: 340px) {
  #copyright {
    padding: 20px 30px;
  }
}

.fe {
  display: flex;
  align-items: flex-end;
}

#sc {
  letter-spacing: 14px;
  position: relative;
  font-family: source-han-serif-sc, serif;

  .title {
    line-height: 3;
  }
}

#tc {
  letter-spacing: 14px;
  position: relative;
  font-family: source-han-serif-tc, serif;
}

@media screen and (max-width: 1300px) {
  #sc, #tc {
    letter-spacing: 11px;
    min-height: 320px;
  }
  #sc {
    .title {
      line-height: 4;
    }
  }
}

@media screen and (max-width: 640px) {
  #sc, #tc {
    line-height: 1.5;
  }
  #sc {
    .title {
      line-height: 2;
    }
  }
}

.author2 {
  display: none;
}

@media screen and (max-width: 640px) {
  .author2 {
    font-size: 24px;
    font-weight: 200;
    margin: -13px 0 16px 0;
    display: block;
  }
}

#poem {
  letter-spacing: 10px;
  line-height: 1.8;
  margin-left: -30px;
  writing-mode: vertical-lr !important;

  .author {
    line-height: 3;
    display: block;
  }
}

@media screen and (max-width: 640px) {
  #poem {
    margin-left: -6px;
    line-height: 1.6;

    .author {
      display: none;
    }
  }
}

@media screen and (max-width: 340px) {
  #poem {
    width: 320px;
  }
}

// 动画参考：https://aotu.io/notes/2016/11/28/css3-animation-properties/index.html
// https://codepen.io/Yetty/pen/VmpMEE
@keyframes listAni {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.41);
  }
}

#join {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;

  .wrapper {
    display: flex;
    margin: 0;
  }

  .position {
    flex-grow: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;

    .circle {
      @extend .FC;
      width: 200px;
      height: 200px;

      .animate {
        width: 130px;
        height: 130px;
        background: black;
        border-radius: 50%;
        animation: listAni 1s cubic-bezier(.59, .03, .93, .06) both alternate infinite; // http://cubic-bezier.com
      }
    }

    @media screen and (min-width: 641px) and (max-width: 1300px) {
      .circle {
        width: 141px;
        height: 141px;

        .animate {
          width: 100px;
          height: 100px;
        }
      }
    }

    @media screen and (max-width: 640px) {
      .circle {
        width: 110px;
        height: 110px;

        .animate {
          width: 70px;
          height: 70px;
        }
      }
    }

    span {
      margin-top: 46px;
      font-weight: 700;
      font-size: 24px;
      letter-spacing: 4px;
    }

    @media screen and (min-width: 641px) and (max-width: 1300px) {
      span {
        font-size: 20px;
      }
    }

    @media screen and (max-width: 640px) {
      span {
        font-size: 14px;
        letter-spacing: 1px;
        margin-top: 20px;
      }
    }
  }

  .stop {
    .circle {
      .animate {
        width: 130px;
        height: 130px;
        animation: none;
      }

      @media screen and (min-width: 641px) and (max-width: 1300px) {
        .animate {
          width: 100px;
          height: 100px;
        }
      }

      @media screen and (max-width: 640px) {
        .animate {
          width: 70px;
          height: 70px;
        }
      }
    }
  }

  .hover {
    .circle {
      .animate {
        background: #FAAD14;
        animation: none;
      }
    }

    span {
      color: #FAAD14;
    }
  }

  .active {
    @extend .hover;

    .circle {
      .animate {
        width: 182px;
        height: 182px;
      }

      @media screen and (min-width: 641px) and (max-width: 1300px) {
        .animate {
          width: 141px;
          height: 141px;
        }
      }

      @media screen and (max-width: 640px) {
        .animate {
          width: 98px;
          height: 98px;
        }
      }
    }
  }

  @for $i from 1 to 4 {
    .position:nth-child(#{$i}) {
      .animate {
        animation-delay: $i*0.3s;
      }
    }
  }

  .job {
    height: 490px;
    margin: 20px 0 100px 0;

    h3 {
      color: #FAAD14;
    }

    @media screen and (max-width: 640px) {
      h3 {
        font-size: 14px;
      }
    }

    ul {
      padding-left: 0;
    }

    li {
      list-style: none;
      line-height: 1.7;
    }

    div:nth-child(1) {
      margin-left: 40px;
      margin-right: 180px;
    }

    div:nth-child(2) {
      margin-left: 200px;
      margin-right: 40px;
    }

    div:nth-child(3) {
      margin-left: 200px;
      margin-right: 50px;
      text-align: right;
    }

    @media screen and (max-width: 1300px) {
      div {
        margin: 0 0 0 15px !important;
        text-align: left !important;
      }
    }

    @media screen and (max-width: 640px) {
      div {
        margin: 0 0 0 9px !important;
      }
    }
  }

  @media screen and (max-width: 640px) {
    .job {
      height: 340px;
    }
  }

}

.none {
  display: none !important;
}

.visible_on_xl {
  display: none;
}

@media screen and (min-width: 1301px) {
  .visible_on_xl {
    display: block;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1300px) {
}

@media screen and (min-width: 641px) and (max-width: 1023px) {
}

@media screen and (max-width: 640px) {
}

@media screen and (max-width: 340px) {
}
